createprocedure[dbo].[BAEOrderAttributeGetAllForProduct]@OrderProductIDas int AS SELECT* FROMOrderSuperProductAttributeASospaJOINOrderSuperProductAttributeLookupASospalON ospa.OrderSuperProductAttributeID=ospal.OrderSuperProductAttributeID WHEREospal.OrderProductID=@OrderProductID ORDERBYospal.SortOrder;